package com.ghd.dataviz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ghd.dataviz.core.param.PageInfo;
import com.ghd.dataviz.entity.SyncPageInfo;
import com.ghd.dataviz.param.SyncPageParam;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 上传文件信息表 服务类
 * </p>
 *
 * @author guohd
 * @since 2020-03-23
 */
public interface ISyncPageInfoService extends IService<SyncPageInfo> {
    @Transactional
    SyncPageInfo insertPageInfo(SyncPageInfo syncPageInfo);

    List<SyncPageInfo> getList();

    @Transactional
    void editPage(SyncPageInfo syncPageInfo);

    PageInfo<SyncPageInfo> findSyncPageList(SyncPageParam pageParam);

    List<SyncPageInfo> findDisplayPage();
}
